<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/pages/common/common.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <title>修改密码</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" href="<%=request.getContextPath()%>/plugins/layui/css/layui.css" media="all">
        <script src="<%=request.getContextPath()%>/plugins/layui/layui.js"></script>
        <script type="text/javascript" src="<%=request.getContextPath()%>/scripts/page/userCfg.js"></script>

        <style type="text/css">
            .mask {
                position: absolute; top: 0px; filter: alpha(opacity=60); background-color: #777;
                z-index: 1002; left: 0px;
                opacity:0.5; -moz-opacity:0.5;
            }
        </style>
        <script type="application/javascript">
            var basePath = "${pageContext.request.contextPath}";
        </script>
    </head>
    <body>
        <div id="mask" class="mask"></div>
        <div class="ui-form" style="width: 130%; padding-top: 50px;">
            <div class="ui-form-row">
                <span class="base-tr ui-form-left">原密码：</span>
                <div class="ui-form-right">
                    <input class="ui-input-text" id="oldPasswd" name="oldPasswd" type="password" style="width: 400px;" placeholder="原密码" />
                    <font color="red">*</font>
                </div>
            </div>
            <div class="ui-form-row">
                <span class="base-tr ui-form-left">新密码：</span>
                <div class="ui-form-right">
                    <input class="ui-input-text" id="newPasswd" name="newPasswd" type="password" style="width: 400px;" placeholder="新密码" />
                    <font color="red">*</font>
                </div>
            </div>
            <div class="ui-form-row">
                <span class="base-tr ui-form-left">确认密码：</span>
                <div class="ui-form-right">
                    <input class="ui-input-text" id="confirmPasswd" name="confirmPasswd" type="password" style="width: 400px;" placeholder="确认密码" />
                    <font color="red">*</font>
                </div>
            </div>
            <div class="ui-form-row">
                <span class="base-tr ui-form-left base-vh">null：</span>
                <div class="ui-form-right">
                    <input class="ui-btn ui-btn-blue" type="button"  style="width: 130px;" onclick="userCfg.modifyPassword()" value="修改密码" />
                </div>
            </div>
        </div>

        <script>
            layui.use(['layer'], function(){
                var layer = layui.layer;
            });
        </script>
    </body>
</html>
